﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DreamBuilder.Core.AOP.Attribute;
using DreamBuilder.Core.Message;
using DreamBuilder.Common;

namespace Web.SystemConfig.Services
{
    public interface IAuth_Role : IBusiness
    {
        void LoadTree(Microsoft.Web.UI.WebControls.TreeView tree);
        void SetInitFuncValue(Microsoft.Web.UI.WebControls.TreeView tree, string Role_ID);
        [Transaction]
        ResultInfo SaveEditDataAndTreeData(System.Data.DataSet dsInfo, Microsoft.Web.UI.WebControls.TreeView treeView);
        DataSet GetDeleteChildInfo(string pkValue);
        bool CheckRolePrimary(string RoleCheckID);
        bool CheckRoleName(string rolename);
        void ModifyRole(string userName, DateTime userTime, string mainKey);
        string GetpkNameByRolepkValue(string pkValue);
        bool IsThisRole(string userID, string roleID);
    }
}
